﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Application.Dtos;

namespace Acme.ConcreteMixDesign.Dtos
{
    public class UpdateTopicDto: EntityDto<Guid>
    {
        /// <summary>
        /// 题目名称
        /// </summary>
        public string TopicName { get; set; }
        /// <summary>
        /// 题目内容
        /// </summary>
        public string TopicContent { get; set; }
        /// <summary>
        /// 答案
        /// </summary>
        public List<AnswerDto> Answers { get;  set; }

        public List<TopicInformationDto> TopicInformations { get; set; }

        protected UpdateTopicDto() { }

        public UpdateTopicDto(Guid id, string topicName, string topicContent)
        {
            Id = id;
            TopicName = topicName;
            TopicContent = topicContent;
            Answers = new List<AnswerDto>();
            TopicInformations= new List<TopicInformationDto>();
        }
    }
}
